#ifndef PACKGE_HANDLER_H
#define PACKGE_HANDLER_H

#include "ui_mainwindow.h"
#include "pcap.h"
#include "my_packge.h"


my_packge* ip_handler(const unsigned char* data,Ui::MainWindow *ui = nullptr);

my_packge* tcp_handler(const unsigned char* data,Ui::MainWindow *ui = nullptr);

my_packge* icmp_handler(const unsigned char* data,Ui::MainWindow *ui = nullptr);

my_packge* udp_handler(const unsigned char* data,Ui::MainWindow *ui = nullptr);

my_packge* eth_handler(const unsigned char* data,Ui::MainWindow *ui = nullptr);

my_packge* arp_handler(const unsigned char* data,Ui::MainWindow *ui = nullptr);



#endif // PACKGE_HANDLER_H
